Skip to content

Add feedback reporting tool - #161

Merged
rgarcia merged 4 commits into
mainfrom
hypeship/add-feedback-tool
Aug 21, 2026
Merged

Add feedback reporting tool#161
rgarcia merged 4 commits into
mainfrom
hypeship/add-feedback-tool

Conversation

@rgarcia

@rgarcia rgarcia commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

summary

  • add a submit_feedback tool for product, mcp, documentation, and general feedback
  • record submissions as mcp_feedback_submitted PostHog events with organization attribution
  • redact obvious emails, URLs, and token-shaped values before capture
  • keep feedback failures non-fatal and document the new standalone tool

testing

  • bun test
  • bunx tsc --noEmit
  • bunx prettier --check README.md src/lib/mcp/analytics.ts src/lib/mcp/analytics.test.ts src/lib/mcp/tools/feedback.ts src/lib/mcp/tools/feedback.test.ts
  • KERNEL_CLI_PROD_CLIENT_ID=test-prod KERNEL_CLI_STAGING_CLIENT_ID=test-staging KERNEL_CLI_DEV_CLIENT_ID=test-dev bun run build

@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mcp Ready Ready Preview Aug 21, 2026 4:23pm

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 89a4f7c. Configure here.

Comment thread src/lib/mcp/analytics.ts Outdated

@masnwilliams masnwilliams left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two small correctness issues to address. the overall implementation and test coverage look good; I’m not treating the free-form analytics payload or global registration as blockers.

Comment thread src/lib/mcp/tools/feedback.ts Outdated
Comment thread src/lib/mcp/tools/feedback.ts Outdated

@masnwilliams masnwilliams left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

latest commit addresses both findings: feedback now reports recorded, failed, and unavailable outcomes accurately, and the tool is correctly marked non-read-only. focused tests and type-check pass; CI and BugBot are green.

@rgarcia
rgarcia merged commit 77bb861 into main Aug 21, 2026
10 checks passed
@rgarcia
rgarcia deleted the hypeship/add-feedback-tool branch August 21, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants